import { configureStore } from '@reduxjs/toolkit';
import userReducer,{ UserStateType } from './userReducer'
import componentsReducer,{ ComponentsStateType } from './componentReducer'

export type StateType={
    user:UserStateType
    components: ComponentsStateType
}

export default configureStore({
    reducer:{
        // user
        user: userReducer,

        // component
        components: componentsReducer

        // question
    }
})